package com.example.service.impl;

import com.example.dao.homeDao;
import com.example.domain.home;
import com.example.service.homeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class homeServiceImpl implements homeService {

    @Autowired
    homeDao hDao;

    @Override
    public List<home> queryTitle(String lay_type) {
        return hDao.queryTitle(lay_type);
    }

    @Override
    public List<home> queryAll() {
        return hDao.queryAll();
    }
}
